package com.tjetc.mapper;

import com.tjetc.domain.RoomAddress;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface RoomAddressMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(RoomAddress record);

    int insertSelective(RoomAddress record);

    RoomAddress selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(RoomAddress record);

    int updateByPrimaryKey(RoomAddress record);

    @Select("select * from room_address where c_id = #{cid} ")
    List<RoomAddress> selectByCid(Integer cid);
}